package com.rnkrsoft.suyan.config.server.services.environment.domains;

import com.rnkrsoft.suyan.config.internal.enums.EnvironmentTypeEnum;
import lombok.*;

import javax.doc.annotation.ApidocElement;
import java.io.Serializable;

/**
 * Created by woate on 2018/6/18.
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CreateEnvironmentRequest implements Serializable {
    @ApidocElement(value = "版本号", maxLen = 36)
    String versionId;
    @ApidocElement(value = "环境类型", maxLen = 36, enumClass = EnvironmentTypeEnum.class)
    int environmentType;
    @ApidocElement(value = "环境名称", maxLen = 36)
    String environmentName;
    @ApidocElement(value = "环境描述", maxLen = 512)
    String environmentDesc;
}
